package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ClientTrace {
    private Long id;

    private Client client;

    private String qq;

    private String email;

    private String tel;

    private Long state_id;

    private Employee saleman;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lastTraceTime;

    private University university;

    private Class clz;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date appointTime;

    private Long communicationMethod_id;

    private Long intentionDegree_id;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date nextTraceTime;

    private Long tracePurpose_id;

    private String consultDuration;

    private String focusProblem;

    private String remark;

    private Long inputUser_id;

    private Long score_id;

    private String explaination;

}